#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL;
using Cephei.QL.Times;
namespace Cephei.QL.Indexes
{
    /// <summary> 
	/// ! \todo add methods returning InterestRate
	/// </summary>
    [Guid ("B7ED7B8A-78E9-4a3e-8BE7-ED439D3F00C5"),ComVisible(true)]
	public interface IInterestRateIndex : Cephei.QL.IIndex
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.ICurrency Currency {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Times.IDayCounter DayCounter {get;}
        /// <summary> 
		/// 
		/// </summary>
		 String FamilyName {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double Fixing(DateTime fixingDate, Microsoft.FSharp.Core.FSharpOption<Boolean> forecastTodaysFixing);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Times.ICalendar FixingCalendar {get;}
        /// <summary> 
		/// 
		/// </summary>
		 DateTime FixingDate(DateTime valueDate);
        /// <summary> 
		/// 
		/// </summary>
		 UInt32 FixingDays {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double ForecastFixing(DateTime fixingDate);
        /// <summary> 
		/// 
		/// </summary>
		 Boolean IsValidFixingDate(DateTime fixingDate);
        /// <summary> 
		/// 
		/// </summary>
		 DateTime MaturityDate(DateTime valueDate);
        /// <summary> 
		/// 
		/// </summary>
		 String Name {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Times.IPeriod Tenor {get;}
        /// <summary> 
		/// 
		/// </summary>
		 IInterestRateIndex Update {get;}
        /// <summary> 
		/// 
		/// </summary>
		 DateTime ValueDate(DateTime fixingDate);
        /// <summary> 
		/// 
		/// </summary>
		 Double PastFixing(DateTime fixingDate);
    }   

    /// <summary> 
	/// ! \todo add methods returning InterestRate Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IInterestRateIndex_Factory : INativeCollection_Factory<IInterestRateIndex>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary>
        /// Create a hybrid Vector of IInterestRateIndex, with event notification of changes
        /// </summary>
        /// <returns>a new Vector&ltIInterestRateIndex&gt</returns>
        IVector<IInterestRateIndex> CreateVector();
        /// <summary>
        /// Create a hybrid Vector of ICell of IInterestRateIndex, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIVector&ltI&ltIInterestRateIndex&gt&gt&gt</returns>
        ICoCell<IVector<ICoCell<IInterestRateIndex>>> CreateCellVector();
        IVector<IInterestRateIndex> CreateVector (IEnumerable<IInterestRateIndex> source);
        ICoCell<IVector<ICoCell<IInterestRateIndex>>> CreateCellVector (IEnumerable<ICoCell<IInterestRateIndex>> source);
    }
}

